{% extends "registration/base.html" %}

{% block title %}
Login | {{ block.super }}
{% endblock %}

{% block head %}
{% endblock %}

{% block page_title %}registration-login{% endblock %}

{% block breadcrumbs %}
{{ block.super }}
<li id="bc-registration-login"><a href="{% url django.contrib.auth.views.login %}">Login</a></li>
{% endblock %}

{% block content %}
<div class="section">
	<div class="inner">
		<h2>Login</h2>
		{% if form.errors %}
		<p class="error">Your username and password didn't match. Please try again.</p>
		{% endif %}
		<form method="post" action="{% url django.contrib.auth.views.login %}" class="normal">
			
			{{ form.username.label_tag }}
			{{ form.username }}
			{{ form.username.errors }}
			
			{{ form.password.label_tag }}
			{{ form.password }}
			{{ form.password.errors }}
			
			<input type="submit" value="login" />
		</form>
	</div>
</div>
{% endblock %}